package com.company.jrlz.entity;

import com.company.jrlz.service.util.ExcelImport;
import com.haulmont.cuba.core.entity.StandardEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Table(name = "JRLZ_ASSEMBLE_WORK_ORDER")
@Entity(name = "jrlz_AssembleWorkOrder")
public class AssembleWorkOrder extends StandardEntity {
    private static final long serialVersionUID = -7558182032399257261L;

    @ExcelImport("工单状态")
    @Column(name = "ORDER_STATUS")
    private String orderStatus;

    @ExcelImport("工单号")
    @Column(name = "ORDER_CODE")
    private String orderCode;

    @ExcelImport("工程编号")
    @Column(name = "PROJECT_CODE")
    private String projectCode;

    @ExcelImport("支架型号")
    @Column(name = "SUPPORT_MODEL")
    private String supportModel;

    @ExcelImport("立柱型号（规格）")
    @Column(name = "UPRIGHT_MODEL")
    private String uprightModel;

    @ExcelImport("批次号")
    @Column(name = "BATCH_NUM")
    private String batchNum;

    @ExcelImport("开始时间")
    @Column(name = "START_TIME")
    private String startTime;

    @ExcelImport("计划完成时间")
    @Column(name = "END_TIME")
    private String endTime;

    @ExcelImport("装配个数")
    @javax.persistence.Column
    public String num;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getSupportModel() {
        return supportModel;
    }

    public void setSupportModel(String supportModel) {
        this.supportModel = supportModel;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public String getBatchNum() {
        return batchNum;
    }

    public void setBatchNum(String batchNum) {
        this.batchNum = batchNum;
    }

    public String getUprightModel() {
        return uprightModel;
    }

    public void setUprightModel(String uprightModel) {
        this.uprightModel = uprightModel;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }
}